function C = getcov(mdl)
%GETMAT Gets the covariance matrix of the Gaussian model
%
% [ Syntax ]
%   - C = getcov(mdl)
%
% [ History ]
%   - Created by Dahua Lin, on Dec 25, 2007
%

C = diag(mdl.sigma * ones(getdim(mdl), 1));
